package com.ruoyi.position.controller;

import com.ruoyi.position.domin.entity.DisTrack;
import com.ruoyi.position.utils.EarthquakeUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author 马兰友
 * @Date: 2024/04/01/19:53
 */
@RestController
public class TestController {

    @GetMapping("/test1")
    public List<DisTrack> test() throws Exception {
        EarthquakeUtil e = new EarthquakeUtil();
        return e.getData();
    }

}
